import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/index'
import Page1 from '@/components/page1'
import Page2 from '@/components/page2'
import Page3 from '@/components/page3'
import Page4 from '@/components/page4'
import Page5 from '@/components/page5'
import Page6 from '@/components/page6'
import Page7 from '@/components/page7'
import Page8 from '@/components/page8'
import Page9 from '@/components/page9'
import Page10 from '@/components/page10'
import end from '@/components/end'

Vue.use(Router)

export default new Router({
    routes: [{
        path: '/',
        name: 'index',
        component: index
    }, {
        path: '/page1',
        name: 'page1',
        component: Page1
    }, {
        path: '/page2',
        name: 'page2',
        component: Page2
    }, {
        path: '/page3',
        name: 'page3',
        component: Page3
    }, {
        path: '/page4',
        name: 'page4',
        component: Page4
    }, {
        path: '/page5',
        name: 'page5',
        component: Page5
    }, {
        path: '/page6',
        name: 'page6',
        component: Page6
    }, {
        path: '/page7',
        name: 'page7',
        component: Page7
    }, {
        path: '/page8',
        name: 'page8',
        component: Page8
    }, {
        path: '/page9',
        name: 'page9',
        component: Page9
    }, {
        path: '/page10',
        name: 'page10',
        component: Page10
    }, {
        path: '/end/:id',
        name: 'end',
        component: end
    }
]
})